package com.guigu.www.erp.dengtao.dao;

import com.guigu.www.erp.common.pojo.SCell;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SCellMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SCell record);

    int insertSelective(SCell record);

    SCell selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SCell record);

    int updateByPrimaryKey(SCell record);

    String selemax();

    List<SCell> aqkcseleAll();

    void btg(String id);

    void tg(@Param("id") String id, @Param("sj") String sj);

    List<SCell> aqkcseleAllbg();

    void put(SCell sCell);

    List<SCell> cxsy(SCell sCell);

    Integer ByProduceIdquerysCellCurrentcAmount(String produceId);

    int addAmount(@Param("addAmount") Integer addAmount,@Param("productId") String productId);

    List<SCell> getAllSCell(SCell sCell);

    Integer querySpaysCellCurrentAmount(String productId);

    String byProductIdqueryChecktag(String productId);
}